package com.teamwings.ctrls.where;




import lombok.Data;
import org.jeecg.common.aspect.WhereEnum;
import org.jeecg.common.aspect.annotation.Where;


import java.sql.Date;


@Data
public class OatAppUrgeWhere {

    @Where(field = "id")
    private String id;

    @Where(field = "TITLE",whereEnum = WhereEnum.LIKE)
    private String title;

    @Where(field = "TO_USER_ID")
    private String toUserId;

    @Where(field = "CREATE_TIME",whereEnum = WhereEnum.GE)
    private Date startDate;

    @Where(field = "CREATE_TIME",whereEnum = WhereEnum.LE)
    private Date endDate;

    @Where(field = "DOC_PRIORITY")
    private Integer docPriority;

    @Where(whereEnum = WhereEnum.ORDER_BY_ASE)
    private String orderByAsc;

    @Where(whereEnum = WhereEnum.ORDER_BY_DESC)
    private String orderByDesc;

    private String selectField;

    private Integer pageNo;

    /**
     * 默认每页20条
     */
    private Integer pageSize = 20;



}
